<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员登录</title>
    <style>
        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f5f5;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            color: #333;
        }
        
        .login-container {
            background-color: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 400px;
            max-width: 90%;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #2c3e50;
            font-size: 24px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            box-sizing: border-box;
            transition: border-color 0.3s;
        }
        
        input[type="text"]:focus,
        input[type="password"]:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .captcha-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .captcha-input {
            flex: 1;
        }
        
        .captcha-img {
            cursor: pointer;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        
        .submit-btn {
            width: 100%;
            padding: 12px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .submit-btn:hover {
            background-color: #2980b9;
        }
    </style>
</head>
<body>
    <div class="login-container">
        <h1>管理员登录</h1>
        <form action="{:Url('admin/index/logincheck')}" method="post">
            <div class="form-group">
                <label for="adminName">用户名</label>
                <input type="text" id="adminName" name="adminName" placeholder="请输入用户名">
            </div>
            
            <div class="form-group">
                <label for="adminPwd">密码</label>
                <input type="password" id="adminPwd" name="adminPwd" placeholder="请输入密码">
            </div>
            
            <!--<div class="form-group">
                <label>验证码</label>
                <div class="captcha-group">
                    <input type="text" name="yzm" placeholder="填写右侧的验证码" required class="captcha-input">
                    <img src="{:Url('admin/index/show_yzm')}" alt="验证码" title="看不清？点击换一个" width="121" height="32" onclick="this.src=this.src+'?'" class="captcha-img">
                </div>
            </div>-->
            
            <button type="submit" class="submit-btn">登录</button>
        </form>
    </div>
</body>
</html>